﻿
using System;

namespace GMS.Framework.Utility.Operator
{
    public class OperatorModel
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 暂时没用
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户头像
        /// </summary>
        public string HeadImg { set; get; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 机构Id
        /// </summary>
        public int TrainingInstitutionId { get; set; }
        /// <summary>
        /// 部门ID暂时未使用
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 角色集合字符串
        /// </summary>
        public string RoleIdsStr { get; set; }
        /// <summary>
        /// IP地址暂时未使用
        /// </summary>
        public string LoginIPAddress { get; set; }
        /// <summary>
        /// 暂时用不到
        /// </summary>
        public string LoginIPAddressName { get; set; }
        /// <summary>
        /// 用户token
        /// </summary>
        public string LoginToken { get; set; }
        /// <summary>
        /// 登录时间
        /// </summary>
        public DateTime LoginTime { get; set; }
        /// <summary>
        /// 是否是管理员
        /// </summary>
        public bool IsAdmin { get; set; }
        /// <summary>
        /// 是否是平台用户
        /// </summary>
        public bool IsPlantForm { get; set; }
        /// <summary>
        /// 是否是平台用户
        /// </summary>
        public bool IsSystem { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string TrainingName { set; get; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { set; get; }
    }
}
